import java.util.Calendar;

public class Test4 {
    public static void main(String[] args) {
            Calendar calendar=Calendar.getInstance();
            calendar.set(2023,1,1);
            calendar.add(Calendar.DATE,180);
            int year=calendar.get(Calendar.YEAR);
            int month=calendar.get(Calendar.MONTH);
            int date=calendar.get(Calendar.DATE);
            if(date==31){
                month+=1;
                date=1;

            }
            System.out.println("竣工日期为："+year+"年"+month+"月"+date+"日");

    }
}
